home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Subview Layout < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  821 b   |  [TEXT/ttxt]

  1. Subject:     Subview Layout
  2. Sent:        3/12/96 11:23 AM
  3. Received:    3/12/96 10:41 AM
  4. From:        Serge Froment, sfroment@odyssee.net
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Dear ODF Team:
  9.  
  10. I have a subclass of FW_CGadget whose subview layout depends on calling
  11. methods that need a graphic context. FW_CView::CreateSubViews does not
  12. provides one.
  13.  
  14. I have seen two strategies to work around the lack of a graphic context:
  15. defer geometry computations or use a FW_CScreenContext. Both have their
  16. pros and cons, but I am not sure what they are. And in the case of deferred
  17. grometry, I am not sure where is the place to do the actual computation.
  18.  
  19. I think a document on that subject would be a nice addition to ODF in the
  20. next release.
  21.  
  22. Serge
  23.  
  24.